const xml =
  '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n' +
  '<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:yaoqiang="http://bpmn.sourceforge.net" exporter="Yaoqiang BPMN Editor" exporterVersion="5.3" expressionLanguage="http://www.w3.org/1999/XPath" id="m1617935700422" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://bpmn.sourceforge.net/schemas/BPMN20.xsd">\n' +
  '  <process id="leave" isClosed="false" isExecutable="true" name="请假审核" processType="None">\n' +
  '    <extensionElements>\n' +
  '      <yaoqiang:description/>\n' +
  '      <yaoqiang:pageFormat height="841.8897637795276" imageableHeight="831.8897637795276" imageableWidth="588.1102362204724" imageableX="5.0" imageableY="5.0" orientation="0" width="598.1102362204724"/>\n' +
  '      <yaoqiang:page background="#FFFFFF" horizontalCount="1" verticalCount="1"/>\n' +
  '    </extensionElements>\n' +
  '    <startEvent id="_2" isInterrupting="true" name="StartEvent" parallelMultiple="false">\n' +
  '      <outgoing>_6</outgoing>\n' +
  '      <outputSet/>\n' +
  '    </startEvent>\n' +
  '    <userTask activiti:assignee="${assignee0}" activiti:exclusive="true" completionQuantity="1" id="_3" implementation="##unspecified" isForCompensation="false" name="班长" startQuantity="1">\n' +
  '      <extensionElements>\n' +
  '        <activiti:taskListener class="com.oa.product.activiti.listener.MyTaskListener" event="all"/>\n' +
  '      </extensionElements>\n' +
  '      <incoming>_6</incoming>\n' +
  '      <outgoing>_7</outgoing>\n' +
  '    </userTask>\n' +
  '    <userTask activiti:assignee="${assignee1}" activiti:exclusive="true" completionQuantity="1" id="_4" implementation="##unspecified" isForCompensation="false" name="班主任" startQuantity="1">\n' +
  '      <extensionElements>\n' +
  '        <activiti:taskListener class="com.oa.product.activiti.listener.MyTaskListener" event="all"/>\n' +
  '      </extensionElements>\n' +
  '      <incoming>_7</incoming>\n' +
  '      <outgoing>_8</outgoing>\n' +
  '    </userTask>\n' +
  '    <endEvent id="_5" name="EndEvent">\n' +
  '      <incoming>_8</incoming>\n' +
  '      <inputSet/>\n' +
  '    </endEvent>\n' +
  '    <sequenceFlow id="_6" sourceRef="_2" targetRef="_3"/>\n' +
  '    <sequenceFlow id="_7" sourceRef="_3" targetRef="_4"/>\n' +
  '    <sequenceFlow id="_8" sourceRef="_4" targetRef="_5"/>\n' +
  '  </process>\n' +
  '  <bpmndi:BPMNDiagram id="Yaoqiang_Diagram-leave" name="New Diagram" resolution="96.0">\n' +
  '    <bpmndi:BPMNPlane bpmnElement="leave">\n' +
  '      <bpmndi:BPMNShape bpmnElement="_2" id="Yaoqiang-_2">\n' +
  '        <omgdc:Bounds height="32.0" width="32.0" x="325.0" y="35.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="56.0" x="313.0" y="74.49"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNShape>\n' +
  '      <bpmndi:BPMNShape bpmnElement="_3" id="Yaoqiang-_3">\n' +
  '        <omgdc:Bounds height="55.0" width="85.0" x="295.0" y="140.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="28.0" x="323.5" y="158.99"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNShape>\n' +
  '      <bpmndi:BPMNShape bpmnElement="_4" id="Yaoqiang-_4">\n' +
  '        <omgdc:Bounds height="55.0" width="85.0" x="295.0" y="255.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="39.0" x="318.0" y="273.99"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNShape>\n' +
  '      <bpmndi:BPMNShape bpmnElement="_5" id="Yaoqiang-_5">\n' +
  '        <omgdc:Bounds height="32.0" width="32.0" x="320.0" y="370.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="51.0" x="310.5" y="409.49"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNShape>\n' +
  '      <bpmndi:BPMNEdge bpmnElement="_8" id="Yaoqiang-_8">\n' +
  '        <omgdi:waypoint x="336.0" y="310.0"/>\n' +
  '        <omgdi:waypoint x="336.0" y="370.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="6.0" x="333.0" y="329.49"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNEdge>\n' +
  '      <bpmndi:BPMNEdge bpmnElement="_7" id="Yaoqiang-_7">\n' +
  '        <omgdi:waypoint x="337.5" y="195.0"/>\n' +
  '        <omgdi:waypoint x="337.5" y="255.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="6.0" x="334.5" y="214.49"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNEdge>\n' +
  '      <bpmndi:BPMNEdge bpmnElement="_6" id="Yaoqiang-_6">\n' +
  '        <omgdi:waypoint x="341.0" y="67.0"/>\n' +
  '        <omgdi:waypoint x="341.0" y="140.0"/>\n' +
  '        <bpmndi:BPMNLabel>\n' +
  '          <omgdc:Bounds height="21.02" width="6.0" x="338.0" y="92.99"/>\n' +
  '        </bpmndi:BPMNLabel>\n' +
  '      </bpmndi:BPMNEdge>\n' +
  '    </bpmndi:BPMNPlane>\n' +
  '  </bpmndi:BPMNDiagram>\n' +
  '</definitions>\n'

const xml2 =
  '<?xml version="1.0" encoding="UTF-8"?>\n' +
  '<bpmn2:definitions\n' +
  '  xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"\n' +
  '  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n' +
  '  xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"\n' +
  '  xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"\n' +
  '  xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"\n' +
  '  xmlns:xsd="http://www.w3.org/2001/XMLSchema"\n' +
  '  xmlns:activiti="http://activiti.org/bpmn" targetNamespace="http://www.activiti.org/processdef">\n' +
  '  <bpmn2:process id="process" name="流程模版" isExecutable="true">\n' +
  '    <bpmn2:startEvent id="sid-50C14770-7956-4B49-BE8A-EAAC55C959BD">\n' +
  '      <bpmn2:outgoing>sid-DE4A60B5-3607-4501-BC30-C83C86223148</bpmn2:outgoing>\n' +
  '    </bpmn2:startEvent>\n' +
  '    <bpmn2:sequenceFlow id="sid-DE4A60B5-3607-4501-BC30-C83C86223148" sourceRef="sid-50C14770-7956-4B49-BE8A-EAAC55C959BD" targetRef="sid-1351A193-F51D-4030-A915-656FE09A44AF" />\n' +
  '    <bpmn2:userTask id="sid-1351A193-F51D-4030-A915-656FE09A44AF" name="审批人" activiti:assignee="${signer}">\n' +
  '      <bpmn2:extensionElements>\n' +
  '        <activiti:executionListener event="start" delegateExpression="${taskSequentialListenerCreate}">\n' +
  '          <activiti:field name="type">\n' +
  '            <activiti:string>0</activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="users">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="roles">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="grade">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="heightGrade">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="moreGradeType">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="gradeNext">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="defaultUserId">\n' +
  '            <activiti:string><![CDATA[]]></activiti:string>\n' +
  '          </activiti:field>\n' +
  '          <activiti:field name="collectionKey">\n' +
  '            <activiti:string>SAIUWVDZ</activiti:string>\n' +
  '          </activiti:field>\n' +
  '        </activiti:executionListener>\n' +
  '        <activiti:taskListener event="complete" delegateExpression="${taskSequentialListenerComplete}" />\n' +
  '      </bpmn2:extensionElements>\n' +
  '      <bpmn2:multiInstanceLoopCharacteristics activiti:collection="SAIUWVDZ" activiti:elementVariable="signer">\n' +
  '        <bpmn2:completionCondition>${nrOfCompletedInstances == nrOfInstances}</bpmn2:completionCondition>\n' +
  '      </bpmn2:multiInstanceLoopCharacteristics>\n' +
  '    </bpmn2:userTask>\n' +
  '    <bpmn2:sequenceFlow id="sid-D9B182A6-214F-4341-A505-E2B9AD709AB3" sourceRef="sid-1351A193-F51D-4030-A915-656FE09A44AF" targetRef="sid-FD1F01B6-C756-4FC4-8483-7D724E1CEBFB" />\n' +
  '    <bpmn2:serviceTask id="sid-FD1F01B6-C756-4FC4-8483-7D724E1CEBFB" name="抄送" activiti:delegateExpression="${copyService}">\n' +
  '      <bpmn2:extensionElements>\n' +
  '        <activiti:field name="users">\n' +
  '          <activiti:string><![CDATA[]]></activiti:string>\n' +
  '        </activiti:field>\n' +
  '        <activiti:field name="roles">\n' +
  '          <activiti:string><![CDATA[]]></activiti:string>\n' +
  '        </activiti:field>\n' +
  '        <activiti:field name="grades">\n' +
  '          <activiti:string><![CDATA[]]></activiti:string>\n' +
  '        </activiti:field>\n' +
  '      </bpmn2:extensionElements>\n' +
  '    </bpmn2:serviceTask>\n' +
  '    <bpmn2:sequenceFlow id="sid-200FC431-2CD0-47CC-89D2-35AC17E9CFF4" sourceRef="sid-FD1F01B6-C756-4FC4-8483-7D724E1CEBFB" targetRef="sid-2F8049AB-BF8F-4C94-AF51-3638612FF364" />\n' +
  '    <bpmn2:endEvent id="sid-2F8049AB-BF8F-4C94-AF51-3638612FF364">\n' +
  '      <bpmn2:incoming>sid-46FA3418-A51D-45EB-9337-FB7A1D8CEDDC</bpmn2:incoming>\n' +
  '    </bpmn2:endEvent>\n' +
  '  </bpmn2:process>\n' +
  '</bpmn2:definitions>'

export default {
  initTemplate() {
    // return xml
    return xml
  }
}
